//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.eight.cloud.payment.service.partnerpayments.wxcodepay.model;

import com.google.gson.annotations.SerializedName;
import com.wechat.pay.java.core.util.StringUtil;
import lombok.Data;

@Data
public class PrepayRequest {
    @SerializedName("sp_appid")
    private String spAppid;
    @SerializedName("sp_mchid")
    private String spMchid;
    @SerializedName("sub_appid")
    private String subAppid;
    @SerializedName("sub_mchid")
    private String subMchid;
    @SerializedName("description")
    private String description;
    @SerializedName("out_trade_no")
    private String outTradeNo;
    @SerializedName("attach")
    private String attach;
    @SerializedName("goods_tag")
    private String goodsTag;
    @SerializedName("support_fapiao")
    private Boolean supportFapiao;
    @SerializedName("amount")
    private Amount amount;
    @SerializedName("payer")
    private Payer payer;
    @SerializedName("detail")
    private Detail detail;
    @SerializedName("scene_info")
    private SceneInfo sceneInfo;
    @SerializedName("settle_info")
    private SettleInfo settleInfo;

    public PrepayRequest() {
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class PrepayRequest {\n");
        sb.append("    spAppid: ").append(StringUtil.toIndentedString(this.spAppid)).append("\n");
        sb.append("    spMchid: ").append(StringUtil.toIndentedString(this.spMchid)).append("\n");
        sb.append("    subAppid: ").append(StringUtil.toIndentedString(this.subAppid)).append("\n");
        sb.append("    subMchid: ").append(StringUtil.toIndentedString(this.subMchid)).append("\n");
        sb.append("    description: ").append(StringUtil.toIndentedString(this.description)).append("\n");
        sb.append("    outTradeNo: ").append(StringUtil.toIndentedString(this.outTradeNo)).append("\n");
        sb.append("    attach: ").append(StringUtil.toIndentedString(this.attach)).append("\n");
        sb.append("    goodsTag: ").append(StringUtil.toIndentedString(this.goodsTag)).append("\n");
        sb.append("    supportFapiao: ").append(StringUtil.toIndentedString(this.supportFapiao)).append("\n");
        sb.append("    amount: ").append(StringUtil.toIndentedString(this.amount)).append("\n");
        sb.append("    payer: ").append(StringUtil.toIndentedString(this.payer)).append("\n");
        sb.append("    detail: ").append(StringUtil.toIndentedString(this.detail)).append("\n");
        sb.append("    sceneInfo: ").append(StringUtil.toIndentedString(this.sceneInfo)).append("\n");
        sb.append("    settleInfo: ").append(StringUtil.toIndentedString(this.settleInfo)).append("\n");
        sb.append("}");
        return sb.toString();
    }

}
